package test.test02.MyThread;
// 实现 Runnable, 重写 run, 使用匿名内部类
public class MyThread04 {
    public static void main(String[] args){
        Runnable r = new Runnable(){
            @Override
            public void run(){
                System.out.println("MyThread04 运行");
            }
        };
        Thread t = new Thread(r);
        t.start();
    }
}
